# Copyright (C) Kumo inc. and its affiliates.
# Author: Jeff.li lijippy@163.com
# All rights reserved.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.
#
@PACKAGE_INIT@

include ("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")

if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets-release.cmake")
    include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets-release.cmake")
elseif(EXISTS "${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets-debugwithrelease.cmake")
    include( "${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets-debugwithrelease.cmake")
else(EXISTS "${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets-debug.cmake")
    include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets-debug.cmake")
endif()

set(@PROJECT_NAME@_VERSION_MAJOR @PROJECT_VERSION_MAJOR@)
set(@PROJECT_NAME@_VERSION_MINOR @PROJECT_VERSION_MINOR@)
set(@PROJECT_NAME@_VERSION_PATCH @PROJECT_VERSION_PATCH@)
set(@PROJECT_NAME@_VERSION @PROJECT_VERSION@)
set(@PROJECT_NAME@_INCLUDE_DIR ${PACKAGE_PREFIX_DIR}/include)

find_package(ZLIB REQUIRED)
find_package(OpenSSL REQUIRED)

include("${CMAKE_CURRENT_LIST_DIR}/shark_gen_cc.cmake")

